package com.springboot2.entity;


import com.baomidou.mybatisplus.annotation.TableField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Org {
    private Integer id;
    private String code;
    private String name;
    private Integer pid;
    @TableField(exist = false)
    private List<Org> children;

}
